/* Download files */
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )

/* Includes */
include( "shared.lua" )

/* An entity entered the zone */
function ENT:StartTouch( entity )

	/* Do base stuff */
	self.BaseClass:StartTouch( entity )

	/* Check if the entity is valid */
	if not entity or not IsValid( entity ) then return end
	
	/* A player enters the zone */
	if entity:IsPlayer() then
	
		/* Call the command that takes care of the rescueing */
		entity:ConCommand( "bel_player_rescued" )
	end
end